#include "CloudGen.h"

//int CloudGen::getClouds(int minx, int miny, int maxx, int maxy)
std::list<WorldObject*> CloudGen::getClouds(int minx, int miny, int maxx, int maxy)
{
	Location loc(0,0,0);
	int rows = maxx-maxx;
	int columns= maxy-miny;
	loc = *(new Location(minx,1500,miny));

	std::list<WorldObject*> ret = std::list<WorldObject*>();

	Cloud* cld = new Cloud(loc,rows,columns);

	ret.push_back(cld);

	return ret;
}